<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微信授权</title>
</head>
<body>
<script>
   var STATE = window.location.search.replace('?', '');
   STATE = encodeURIComponent(STATE)
   window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa082fd86136022f6&redirect_uri=http%3A%2F%2Fdev-cc.kuangheng.com%2Fngsapitask%2Fapi%2FapiWXCode&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"'
   </script>
</body>
</html>